{% extends "base.html" %}
{% load i18n %}

{% block content %}
<h2>{% trans 'Password change' %}</h2>

<p>{% trans "Please enter your old password, for security's sake, and then enter your new password twice so we can verify you typed it in correctly." %}</p>

<form action="" method="post">

<table>
	<tr class="aligned wide">
		<td><label for="id_old_password">{% trans 'Old password:' %}</label></td>
		<td>{{ form.old_password }}</td>
		<td>{{ form.old_password.errors }}</td>
	</tr><tr class="aligned wide">
		<td><label for="id_new_password1">{% trans 'New password:' %}</label></td>
		<td>{{ form.new_password1 }}</td>
		<td>{{ form.new_password1.errors }}</td>
	</tr><tr class="aligned wide">
		<td><label for="id_new_password2">{% trans 'Confirm password:' %}</label></td>
		<td>{{ form.new_password2 }}</td>
		<td>{{ form.new_password2.errors }}</td>
	</tr>
</table>
<p><input type="submit" value="{% trans 'Change my password' %}" /></p>
</form>

{% endblock %}
